﻿using RockBus.Initialization.Interfaces;

namespace RockBus.Composition.Interfaces
{
    public static class IDependencyManagerExtensions
    {
        public static void Initialize(this IDependencyManager dependencyManager)
        {
            var initMgr = dependencyManager.Resolve<IInitializationManager>();
            initMgr.Initialize();
        }
    }
}
